package com.itheima.service;

import com.itheima.dao.UserDao;
import com.itheima.domain.User;

public class UserService {
	private UserDao dao;

	public void setDao(UserDao dao) {
		this.dao = dao;
	}
	
	
	public User login(User user) {
		System.out.println("user Service。。。。。");
		user = dao.login(user);
		return user;
	}
}
